#include <stdio.h>

#include <netinet/in.h>


int main(int argc, const char *argv[])
{
    uint16_t hport;
    hport = 8080;

    printf("hport:%x\n", hport);
    printf("after htons:%x\n", htons(hport));

    return 0;
}
